Next | Prev | Up | Top | Contents | Index

Using the Visual Info Extension

To find a visual that best matches specified attributes, call glXChooseVisual():

XVisualInfo* glXChooseVisual( Display *dpy, int screen, int *attrib_list )
More attributes may be specified in the attribute list. If a visual attribute is not specified, a default value is used. See the glXChooseVisual() reference page for more detail.

To free the data returned, use XFree().


Next | Prev | Up | Top | Contents | Index